<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Expires" content="0"/>
    <link rel="shortcut icon" type="image/x-icon" th:href="@{/static/favicon2.ico}">
    <link rel="stylesheet" th:href="@{/static/plugins/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/static/css/layout.css}">
    <link rel="stylesheet" th:href="@{/static/css/common.css}">
    <style>
        .must:after {
            content: "*";
            color: red;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <form class="layui-form">
        <div class="layui-form-item">

        </div>
        <div class="layui-form-item">

        </div>
        <div class="layui-form-item">

        </div>
        <input type="hidden" name="parentId" th:value="${id}" lay-verify="required" autocomplete="off">
        <div class="layui-form-item">
            <label class="layui-form-label must">部门名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" required lay-verify="required" placeholder="请输入部门名称" autocomplete="off"
                       class="layui-input" maxlength="10">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label must">是否护理部</label>
            <div class="layui-input-block">
                <select name="isNursingDepartment" lay-verify="required">
                    <option value="0">否</option>
                    <option value="1">是</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="sb">确定</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script th:src="@{/static/plugins/jquery.js}"></script>
<script th:src="@{/static/plugins/layui/layui.js}"></script>
<script th:src="@{/static/js/common.js}"></script>
<script th:src="@{/static/js/personnel/department/add.js}"></script>
</body>

</html>